package it.koutifaris.travianmap.ui;

import it.koutifaris.travianmap.dal.MapUIService;
import it.koutifaris.travianmap.ui.viewstate.DynamicViewState;

public class DynamicViewStateToViewState implements MapUIService.MapViewState {

	private final DynamicViewState dynamicViewState;

	public DynamicViewStateToViewState(DynamicViewState dynamicViewState) {
		this.dynamicViewState = dynamicViewState;
	}

	@Override
	public int getX() {
		return dynamicViewState.getX();
	}

	@Override
	public int getY() {
		return dynamicViewState.getY();
	}

	@Override
	public float getZoom() {
		return dynamicViewState.getZoom();
	}

}
